package com.ikun.common.observer.impl;


import com.ikun.common.observer.base.Observer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author ximeng
 * @title: SmsObserver
 * @projectName iot-fy-2301-parent
 * @description: 这个是短信的通知接口
 * @date 2023/10/8  15:19
 */
@Component
@Slf4j
public class SmsObserver implements Observer {
    @Override
    public void notifyAll(String msg) {
       log.info("短信通知用户出现异常信息:{}",msg);
       //TODO 手机短信通知
    }
}
